<template>
  <view class="page">
    <g-navbar/>
    <!-- <view class="body">
      <slot></slot>
    </view> -->
	<slot></slot>
    <g-tabbar v-if="isTabbar"/>
  </view>
</template>

<script>
export default {
  props:{
    isTabbar:{
      type:Boolean,
      default: false
    }
  }
}
</script>

<style lang="scss" scoped>
.page{
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

/*.body{
  flex: auto;
  position: relative;
  overflow: auto;
  padding-bottom: 50rpx;
} */
</style>
